﻿namespace HRM.CORE
{
    using DevExpress.Utils;
    using DevExpress.XtraEditors;
    using DevExpress.XtraEditors.Controls;
    using DevExpress.XtraGrid;
    using DevExpress.XtraGrid.Columns;
    using DevExpress.XtraGrid.Views.Grid;
    using DevExpress.XtraLayout;
    using DevExpress.XtraLayout.Utils;
    using Common.Base;
    using HRM.CORE;
    using System; using Extra.ERP;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Runtime.CompilerServices;
    using System.Windows.Forms; using Common;
    using DevExpress.XtraGrid.Views.Base;

    public class xfmModify : XtraForm
    {
        private SimpleButton biInit;
        private SimpleButton btNext;
        private SimpleButton btOK;
        private GridColumn colContentChange;
        private GridColumn colInsuranceTableListName;
        private GridColumn colNewContent;
        private GridColumn colOldContent;
        private GridColumn colReason;
        private IContainer components;
        private DataTable dt_Employee;
        private DateEdit dtNewIDCardDate;
        private DateEdit dtOldIDCardDate;
        private GridView gbList;
        private GridControl gcList;
        private GridLookUpEdit glkInsuranceTableList;
        private GridView gridLookUpEdit1View;
        private GroupControl groupControl1;
        private GroupControl groupControl2;
        private DevExpress.Utils.ImageCollection imageCollection1;
        private LabelControl labelControl1;
        private LayoutControl layoutControl1;
        private LayoutControl layoutControl2;
        private LayoutControlGroup layoutControlGroup1;
        private LayoutControlGroup layoutControlGroup2;
        private LayoutControlItem layoutControlItem1;
        private LayoutControlItem layoutControlItem10;
        private LayoutControlItem layoutControlItem11;
        private LayoutControlItem layoutControlItem12;
        private LayoutControlItem layoutControlItem14;
        private LayoutControlItem layoutControlItem15;
        private LayoutControlItem layoutControlItem16;
        private LayoutControlItem layoutControlItem17;
        private LayoutControlItem layoutControlItem18;
        private LayoutControlItem layoutControlItem19;
        private LayoutControlItem layoutControlItem2;
        private LayoutControlItem layoutControlItem20;
        private LayoutControlItem layoutControlItem21;
        private LayoutControlItem layoutControlItem22;
        private LayoutControlItem layoutControlItem23;
        private LayoutControlItem layoutControlItem24;
        private LayoutControlItem layoutControlItem3;
        private LayoutControlItem layoutControlItem5;
        private LayoutControlItem layoutControlItem6;
        private LayoutControlItem layoutControlItem7;
        private LayoutControlItem layoutControlItem8;
        private LayoutControlItem layoutControlItem9;
        private int m_Count;
        private TextEdit txtNewBirthPlace;
        private TextEdit txtNewEmployeeCode;
        private TextEdit txtNewFirstName;
        private TextEdit txtNewHealthInsuranceCode;
        private TextEdit txtNewIDCard;
        private TextEdit txtNewIDCardPlace;
        private TextEdit txtNewInsuranceCode;
        private TextEdit txtNewLastName;
        private TextEdit txtNewMainAddress;
        private TextEdit txtOldBirthPlace;
        private TextEdit txtOldEmployeeCode;
        private TextEdit txtOldFirstName;
        private TextEdit txtOldHealthInsuranceCode;
        private TextEdit txtOldIDCard;
        private TextEdit txtOldIDCardPlace;
        private TextEdit txtOldInsuranceCode;
        private TextEdit txtOldLastName;
        private TextEdit txtOldMainAddress;
        private xucDateEdit xdeNewBirthday;
        private xucDateEdit xdeOldBirthday;

        public event CreatedEventHander Created;

        public xfmModify()
        {
            this.components = null;
            this.m_Count = 0;
            this.InitializeComponent();
            this.Init();
        }

        public xfmModify(DataTable Employee)
        {
            this.components = null;
            this.m_Count = 0;
            this.InitializeComponent();
            this.dt_Employee = Employee;
            this.m_Count = this.dt_Employee.Rows.Count - 1;
            this.Init();
        }

        private void biInit_Click(object sender, EventArgs e)
        {
            DataTable table = new DataTable();
            DataColumn column = new DataColumn("ContentChange");
            DataColumn column2 = new DataColumn("OldContent");
            DataColumn column3 = new DataColumn("NewContent");
            DataColumn column4 = new DataColumn("Reason");
            table.Columns.Add(column);
            table.Columns.Add(column2);
            table.Columns.Add(column3);
            table.Columns.Add(column4);
            if (this.txtOldInsuranceCode.Text != this.txtNewInsuranceCode.Text)
            {
                table.Rows.Add(new object[] { "Điều chỉnh số sổ BHXH", this.txtOldInsuranceCode.Text, this.txtNewInsuranceCode.Text, "Sai số sổ BHXH" });
            }
            if (this.txtOldFirstName.Text != this.txtNewFirstName.Text)
            {
                table.Rows.Add(new object[] { "Điều chỉnh họ l\x00f3t", this.txtOldFirstName.Text, this.txtNewFirstName.Text, "Sai họ l\x00f3t" });
            }
            if (this.txtOldLastName.Text != this.txtNewLastName.Text)
            {
                table.Rows.Add(new object[] { "Điều chỉnh t\x00ean", this.txtOldLastName.Text, this.txtNewLastName.Text, "Sai t\x00ean nh\x00e2n vi\x00ean" });
            }
            if (((this.xdeOldBirthday.Day != this.xdeNewBirthday.Day) || (this.xdeOldBirthday.Month != this.xdeNewBirthday.Month)) || (this.xdeOldBirthday.Year != this.xdeNewBirthday.Year))
            {
                table.Rows.Add(new object[] { "Điều chỉnh ng\x00e0y sinh", HRM_EMPLOYEE.BirthdayString(this.xdeOldBirthday.Year, this.xdeOldBirthday.Month, this.xdeOldBirthday.Day), HRM_EMPLOYEE.BirthdayString(this.xdeNewBirthday.Year, this.xdeNewBirthday.Month, this.xdeNewBirthday.Day), "Sai ng\x00e0y sinh" });
            }
            if (this.txtOldBirthPlace.Text != this.txtNewBirthPlace.Text)
            {
                table.Rows.Add(new object[] { "Điều chỉnh nơi sinh", this.txtOldBirthPlace.Text, this.txtNewBirthPlace.Text, "Sai nơi sinh" });
            }
            if (this.txtOldIDCard.Text != this.txtNewIDCard.Text)
            {
                table.Rows.Add(new object[] { "Điều chỉnh số CMND", this.txtOldIDCard.Text, this.txtNewIDCard.Text, "Sai số CMND" });
            }
            if (this.dtOldIDCardDate.DateTime != this.dtNewIDCardDate.DateTime)
            {
                table.Rows.Add(new object[] { "Điều chỉnh ng\x00e0y cấp CMND", this.dtOldIDCardDate.Text, this.dtNewIDCardDate.Text, "Sai ng\x00e0y cấp CMND" });
            }
            if (this.txtOldIDCardPlace.Text != this.txtNewIDCardPlace.Text)
            {
                table.Rows.Add(new object[] { "Điều chỉnh nơi cấp CMND", this.txtOldIDCardPlace.Text, this.txtNewIDCardPlace.Text, "Sai nơi cấp CMND" });
            }
            if (this.txtOldMainAddress.Text != this.txtNewMainAddress.Text)
            {
                table.Rows.Add(new object[] { "Điều chỉnh nơi ở", this.txtOldMainAddress.Text, this.txtNewMainAddress.Text, "Sai nơi ở" });
            }
            this.gcList.DataSource = table;
        }

        private void btNext_Click(object sender, EventArgs e)
        {
            this.SetValue(this.m_Count);
            this.gcList.DataSource = null;
        }

        private void btOK_Click(object sender, EventArgs e)
        {
            if (this.glkInsuranceTableList.EditValue == null)
            {
                XtraMessageBox.Show("Vui l\x00f2ng chọn đợt b\x00e1o c\x00e1o!", "Th\x00f4ng b\x00e1o", MessageBoxButtons.OK);
            }
            else
            {
                HRM_INSURANCE_MODIFY hrm_insurance_modify = new HRM_INSURANCE_MODIFY();
                try
                {
                    foreach (DataRow row in (this.gcList.DataSource as DataTable).Rows)
                    {
                        try
                        {
                            Guid insuranceTableListID = new Guid(this.glkInsuranceTableList.EditValue.ToString());
                            if (row != null)
                            {
                                hrm_insurance_modify.Insert(Guid.NewGuid(), insuranceTableListID, this.txtOldEmployeeCode.Text, this.txtOldFirstName.Text + " " + this.txtOldLastName.Text, this.txtOldInsuranceCode.Text, this.txtOldHealthInsuranceCode.Text, row["ContentChange"].ToString(), row["OldContent"].ToString(), row["NewContent"].ToString(), row["Reason"].ToString(), "", DateTime.Now, "");
                            }
                        }
                        catch
                        {
                        }
                    }
                    XtraMessageBox.Show("Đ\x00e3 ho\x00e0n tất qu\x00e1 tr\x00ecnh!", "Th\x00f4ng b\x00e1o", MessageBoxButtons.OK);
                }
                catch
                {
                    XtraMessageBox.Show("C\x00f3 lỗi xảy ra!", "Th\x00f4ng b\x00e1o", MessageBoxButtons.OK);
                }
            }
        }

        protected override void Dispose(bool disposing)
        {
            if (disposing && (this.components != null))
            {
                this.components.Dispose();
            }
            base.Dispose(disposing);
        }

        private void Init()
        {
            new HRM_INSURANCE_TABLELIST().AddGridLookupEdit(this.glkInsuranceTableList);
            this.SetValue(this.m_Count);
        }

        private void InitializeComponent()
        {
            this.components = new Container();
            ComponentResourceManager manager = new ComponentResourceManager(typeof(xfmModify));
            SerializableAppearanceObject appearance = new SerializableAppearanceObject();
            this.btOK = new SimpleButton();
            this.imageCollection1 = new DevExpress.Utils.ImageCollection(this.components);
            this.btNext = new SimpleButton();
            this.groupControl1 = new GroupControl();
            this.layoutControl1 = new LayoutControl();
            this.xdeOldBirthday = new xucDateEdit();
            this.txtOldHealthInsuranceCode = new TextEdit();
            this.txtOldEmployeeCode = new TextEdit();
            this.txtOldMainAddress = new TextEdit();
            this.txtOldIDCardPlace = new TextEdit();
            this.dtOldIDCardDate = new DateEdit();
            this.txtOldIDCard = new TextEdit();
            this.txtOldBirthPlace = new TextEdit();
            this.txtOldLastName = new TextEdit();
            this.txtOldFirstName = new TextEdit();
            this.txtOldInsuranceCode = new TextEdit();
            this.layoutControlGroup1 = new LayoutControlGroup();
            this.layoutControlItem1 = new LayoutControlItem();
            this.layoutControlItem2 = new LayoutControlItem();
            this.layoutControlItem3 = new LayoutControlItem();
            this.layoutControlItem5 = new LayoutControlItem();
            this.layoutControlItem6 = new LayoutControlItem();
            this.layoutControlItem7 = new LayoutControlItem();
            this.layoutControlItem8 = new LayoutControlItem();
            this.layoutControlItem9 = new LayoutControlItem();
            this.layoutControlItem19 = new LayoutControlItem();
            this.layoutControlItem21 = new LayoutControlItem();
            this.layoutControlItem23 = new LayoutControlItem();
            this.groupControl2 = new GroupControl();
            this.layoutControl2 = new LayoutControl();
            this.xdeNewBirthday = new xucDateEdit();
            this.txtNewHealthInsuranceCode = new TextEdit();
            this.txtNewEmployeeCode = new TextEdit();
            this.txtNewMainAddress = new TextEdit();
            this.txtNewIDCardPlace = new TextEdit();
            this.dtNewIDCardDate = new DateEdit();
            this.txtNewIDCard = new TextEdit();
            this.txtNewBirthPlace = new TextEdit();
            this.txtNewLastName = new TextEdit();
            this.txtNewFirstName = new TextEdit();
            this.txtNewInsuranceCode = new TextEdit();
            this.layoutControlGroup2 = new LayoutControlGroup();
            this.layoutControlItem10 = new LayoutControlItem();
            this.layoutControlItem11 = new LayoutControlItem();
            this.layoutControlItem12 = new LayoutControlItem();
            this.layoutControlItem14 = new LayoutControlItem();
            this.layoutControlItem15 = new LayoutControlItem();
            this.layoutControlItem16 = new LayoutControlItem();
            this.layoutControlItem17 = new LayoutControlItem();
            this.layoutControlItem18 = new LayoutControlItem();
            this.layoutControlItem20 = new LayoutControlItem();
            this.layoutControlItem22 = new LayoutControlItem();
            this.layoutControlItem24 = new LayoutControlItem();
            this.gcList = new GridControl();
            this.gbList = new GridView();
            this.colContentChange = new GridColumn();
            this.colOldContent = new GridColumn();
            this.colNewContent = new GridColumn();
            this.colReason = new GridColumn();
            this.biInit = new SimpleButton();
            this.glkInsuranceTableList = new GridLookUpEdit();
            this.gridLookUpEdit1View = new GridView();
            this.colInsuranceTableListName = new GridColumn();
            this.labelControl1 = new LabelControl();
            this.imageCollection1.BeginInit();
            this.groupControl1.BeginInit();
            this.groupControl1.SuspendLayout();
            this.layoutControl1.BeginInit();
            this.layoutControl1.SuspendLayout();
            this.txtOldHealthInsuranceCode.Properties.BeginInit();
            this.txtOldEmployeeCode.Properties.BeginInit();
            this.txtOldMainAddress.Properties.BeginInit();
            this.txtOldIDCardPlace.Properties.BeginInit();
            this.dtOldIDCardDate.Properties.VistaTimeProperties.BeginInit();
            this.dtOldIDCardDate.Properties.BeginInit();
            this.txtOldIDCard.Properties.BeginInit();
            this.txtOldBirthPlace.Properties.BeginInit();
            this.txtOldLastName.Properties.BeginInit();
            this.txtOldFirstName.Properties.BeginInit();
            this.txtOldInsuranceCode.Properties.BeginInit();
            this.layoutControlGroup1.BeginInit();
            this.layoutControlItem1.BeginInit();
            this.layoutControlItem2.BeginInit();
            this.layoutControlItem3.BeginInit();
            this.layoutControlItem5.BeginInit();
            this.layoutControlItem6.BeginInit();
            this.layoutControlItem7.BeginInit();
            this.layoutControlItem8.BeginInit();
            this.layoutControlItem9.BeginInit();
            this.layoutControlItem19.BeginInit();
            this.layoutControlItem21.BeginInit();
            this.layoutControlItem23.BeginInit();
            this.groupControl2.BeginInit();
            this.groupControl2.SuspendLayout();
            this.layoutControl2.BeginInit();
            this.layoutControl2.SuspendLayout();
            this.txtNewHealthInsuranceCode.Properties.BeginInit();
            this.txtNewEmployeeCode.Properties.BeginInit();
            this.txtNewMainAddress.Properties.BeginInit();
            this.txtNewIDCardPlace.Properties.BeginInit();
            this.dtNewIDCardDate.Properties.VistaTimeProperties.BeginInit();
            this.dtNewIDCardDate.Properties.BeginInit();
            this.txtNewIDCard.Properties.BeginInit();
            this.txtNewBirthPlace.Properties.BeginInit();
            this.txtNewLastName.Properties.BeginInit();
            this.txtNewFirstName.Properties.BeginInit();
            this.txtNewInsuranceCode.Properties.BeginInit();
            this.layoutControlGroup2.BeginInit();
            this.layoutControlItem10.BeginInit();
            this.layoutControlItem11.BeginInit();
            this.layoutControlItem12.BeginInit();
            this.layoutControlItem14.BeginInit();
            this.layoutControlItem15.BeginInit();
            this.layoutControlItem16.BeginInit();
            this.layoutControlItem17.BeginInit();
            this.layoutControlItem18.BeginInit();
            this.layoutControlItem20.BeginInit();
            this.layoutControlItem22.BeginInit();
            this.layoutControlItem24.BeginInit();
            this.gcList.BeginInit();
            this.gbList.BeginInit();
            this.glkInsuranceTableList.Properties.BeginInit();
            this.gridLookUpEdit1View.BeginInit();
            base.SuspendLayout();
            this.btOK.Appearance.Font = new Font("Tahoma", 8.25f, FontStyle.Bold);
            this.btOK.Appearance.Options.UseFont = true;
            this.btOK.ImageIndex = 2;
            this.btOK.ImageList = this.imageCollection1;
            this.btOK.Location = new Point(0x201, 0x1cb);
            this.btOK.Name = "btOK";
            this.btOK.Size = new Size(0x57, 0x17);
            this.btOK.TabIndex = 5;
            this.btOK.Text = "Đồng \x00fd (*)";
            this.btOK.Click += new EventHandler(this.btOK_Click);
            this.imageCollection1.ImageStream = (ImageCollectionStreamer) manager.GetObject("imageCollection1.ImageStream");
            this.imageCollection1.Images.SetKeyName(0, "ico_alpha_Search_16x16.png");
            this.imageCollection1.Images.SetKeyName(1, "ico_alpha_Delete_16x16.png");
            this.imageCollection1.Images.SetKeyName(2, "document2.png");
            this.imageCollection1.Images.SetKeyName(3, "open-16x16.png");
            this.btNext.ImageIndex = 1;
            this.btNext.ImageList = this.imageCollection1;
            this.btNext.Location = new Point(0x25e, 0x1cb);
            this.btNext.Name = "btNext";
            this.btNext.Size = new Size(0x65, 0x17);
            this.btNext.TabIndex = 6;
            this.btNext.Text = "Bỏ qua (>>)";
            this.btNext.Click += new EventHandler(this.btNext_Click);
            this.groupControl1.AppearanceCaption.Font = new Font("Tahoma", 8.25f, FontStyle.Bold);
            this.groupControl1.AppearanceCaption.Options.UseFont = true;
            this.groupControl1.Controls.Add(this.layoutControl1);
            this.groupControl1.Location = new Point(7, 4);
            this.groupControl1.Name = "groupControl1";
            this.groupControl1.Size = new Size(350, 0xcd);
            this.groupControl1.TabIndex = 0;
            this.groupControl1.Text = "Th\x00f4ng tin cũ";
            this.layoutControl1.Controls.Add(this.xdeOldBirthday);
            this.layoutControl1.Controls.Add(this.txtOldHealthInsuranceCode);
            this.layoutControl1.Controls.Add(this.txtOldEmployeeCode);
            this.layoutControl1.Controls.Add(this.txtOldMainAddress);
            this.layoutControl1.Controls.Add(this.txtOldIDCardPlace);
            this.layoutControl1.Controls.Add(this.dtOldIDCardDate);
            this.layoutControl1.Controls.Add(this.txtOldIDCard);
            this.layoutControl1.Controls.Add(this.txtOldBirthPlace);
            this.layoutControl1.Controls.Add(this.txtOldLastName);
            this.layoutControl1.Controls.Add(this.txtOldFirstName);
            this.layoutControl1.Controls.Add(this.txtOldInsuranceCode);
            this.layoutControl1.Dock = DockStyle.Fill;
            this.layoutControl1.Location = new Point(2, 0x16);
            this.layoutControl1.Name = "layoutControl1";
            this.layoutControl1.OptionsView.AllowHotTrack = true;
            this.layoutControl1.OptionsView.HighlightDisabledItem = true;
            this.layoutControl1.OptionsView.HighlightFocusedItem = true;
            this.layoutControl1.Root = this.layoutControlGroup1;
            this.layoutControl1.Size = new Size(0x15a, 0xb5);
            this.layoutControl1.TabIndex = 0;
            this.layoutControl1.Text = "layoutControl1";
            this.xdeOldBirthday.Day = 1;
            this.xdeOldBirthday.Location = new Point(0x49, 0x36);
            this.xdeOldBirthday.Month = 1;
            this.xdeOldBirthday.Name = "xdeOldBirthday";
            this.xdeOldBirthday.ReadOnly = false;
            this.xdeOldBirthday.Size = new Size(250, 20);
            this.xdeOldBirthday.TabIndex = 0x18;
            this.xdeOldBirthday.Year = 0x7dd;
            this.txtOldHealthInsuranceCode.Location = new Point(0x49, 0xae);
            this.txtOldHealthInsuranceCode.Name = "txtOldHealthInsuranceCode";
            this.txtOldHealthInsuranceCode.Size = new Size(250, 20);
            this.txtOldHealthInsuranceCode.StyleController = this.layoutControl1;
            this.txtOldHealthInsuranceCode.TabIndex = 10;
            this.txtOldEmployeeCode.Location = new Point(0x49, 6);
            this.txtOldEmployeeCode.Name = "txtOldEmployeeCode";
            this.txtOldEmployeeCode.Properties.ReadOnly = true;
            this.txtOldEmployeeCode.Size = new Size(50, 20);
            this.txtOldEmployeeCode.StyleController = this.layoutControl1;
            this.txtOldEmployeeCode.TabIndex = 0;
            this.txtOldMainAddress.Location = new Point(0x49, 150);
            this.txtOldMainAddress.Name = "txtOldMainAddress";
            this.txtOldMainAddress.Properties.ReadOnly = true;
            this.txtOldMainAddress.Size = new Size(250, 20);
            this.txtOldMainAddress.StyleController = this.layoutControl1;
            this.txtOldMainAddress.TabIndex = 9;
            this.txtOldIDCardPlace.Location = new Point(0x49, 0x7e);
            this.txtOldIDCardPlace.Name = "txtOldIDCardPlace";
            this.txtOldIDCardPlace.Properties.ReadOnly = true;
            this.txtOldIDCardPlace.Size = new Size(250, 20);
            this.txtOldIDCardPlace.StyleController = this.layoutControl1;
            this.txtOldIDCardPlace.TabIndex = 8;
            this.dtOldIDCardDate.EditValue = null;
            this.dtOldIDCardDate.Location = new Point(190, 0x66);
            this.dtOldIDCardDate.Name = "dtOldIDCardDate";
            this.dtOldIDCardDate.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.dtOldIDCardDate.Properties.Mask.UseMaskAsDisplayFormat = true;
            this.dtOldIDCardDate.Properties.ReadOnly = true;
            this.dtOldIDCardDate.Properties.VistaTimeProperties.Buttons.AddRange(new EditorButton[] { new EditorButton() });
            this.dtOldIDCardDate.Size = new Size(0x85, 20);
            this.dtOldIDCardDate.StyleController = this.layoutControl1;
            this.dtOldIDCardDate.TabIndex = 7;
            this.txtOldIDCard.Location = new Point(0x49, 0x66);
            this.txtOldIDCard.Name = "txtOldIDCard";
            this.txtOldIDCard.Properties.ReadOnly = true;
            this.txtOldIDCard.Size = new Size(0x3b, 20);
            this.txtOldIDCard.StyleController = this.layoutControl1;
            this.txtOldIDCard.TabIndex = 6;
            this.txtOldBirthPlace.Location = new Point(0x49, 0x4e);
            this.txtOldBirthPlace.Name = "txtOldBirthPlace";
            this.txtOldBirthPlace.Properties.ReadOnly = true;
            this.txtOldBirthPlace.Size = new Size(250, 20);
            this.txtOldBirthPlace.StyleController = this.layoutControl1;
            this.txtOldBirthPlace.TabIndex = 5;
            this.txtOldLastName.Location = new Point(0xc2, 30);
            this.txtOldLastName.Name = "txtOldLastName";
            this.txtOldLastName.Properties.ReadOnly = true;
            this.txtOldLastName.Size = new Size(0x81, 20);
            this.txtOldLastName.StyleController = this.layoutControl1;
            this.txtOldLastName.TabIndex = 3;
            this.txtOldFirstName.Location = new Point(0x49, 30);
            this.txtOldFirstName.Name = "txtOldFirstName";
            this.txtOldFirstName.Properties.ReadOnly = true;
            this.txtOldFirstName.Size = new Size(90, 20);
            this.txtOldFirstName.StyleController = this.layoutControl1;
            this.txtOldFirstName.TabIndex = 2;
            this.txtOldInsuranceCode.Location = new Point(0xc2, 6);
            this.txtOldInsuranceCode.Name = "txtOldInsuranceCode";
            this.txtOldInsuranceCode.Properties.ReadOnly = true;
            this.txtOldInsuranceCode.Size = new Size(0x81, 20);
            this.txtOldInsuranceCode.StyleController = this.layoutControl1;
            this.txtOldInsuranceCode.TabIndex = 1;
            this.layoutControlGroup1.CustomizationFormText = "layoutControlGroup1";
            this.layoutControlGroup1.EnableIndentsWithoutBorders = DefaultBoolean.True;
            this.layoutControlGroup1.GroupBordersVisible = false;
            this.layoutControlGroup1.Items.AddRange(new BaseLayoutItem[] { this.layoutControlItem1, this.layoutControlItem2, this.layoutControlItem3, this.layoutControlItem5, this.layoutControlItem6, this.layoutControlItem7, this.layoutControlItem8, this.layoutControlItem9, this.layoutControlItem19, this.layoutControlItem21, this.layoutControlItem23 });
            this.layoutControlGroup1.Location = new Point(0, 0);
            this.layoutControlGroup1.Name = "layoutControlGroup1";
            this.layoutControlGroup1.Padding = new DevExpress.XtraLayout.Utils.Padding(4, 4, 4, 4);
            this.layoutControlGroup1.Size = new Size(0x149, 200);
            this.layoutControlGroup1.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
            this.layoutControlGroup1.Text = "layoutControlGroup1";
            this.layoutControlGroup1.TextVisible = false;
            this.layoutControlItem1.Control = this.txtOldInsuranceCode;
            this.layoutControlItem1.CustomizationFormText = "Số sổ BHXH:";
            this.layoutControlItem1.Location = new Point(0x79, 0);
            this.layoutControlItem1.Name = "layoutControlItem1";
            this.layoutControlItem1.Size = new Size(200, 0x18);
            this.layoutControlItem1.Text = "Số sổ BHXH:";
            this.layoutControlItem1.TextSize = new Size(0x3f, 13);
            this.layoutControlItem2.Control = this.txtOldFirstName;
            this.layoutControlItem2.CustomizationFormText = "Họ l\x00f3t:";
            this.layoutControlItem2.Location = new Point(0, 0x18);
            this.layoutControlItem2.Name = "layoutControlItem2";
            this.layoutControlItem2.Size = new Size(0xa1, 0x18);
            this.layoutControlItem2.Text = "Họ l\x00f3t:";
            this.layoutControlItem2.TextSize = new Size(0x3f, 13);
            this.layoutControlItem3.Control = this.txtOldLastName;
            this.layoutControlItem3.CustomizationFormText = "T\x00ean:";
            this.layoutControlItem3.Location = new Point(0xa1, 0x18);
            this.layoutControlItem3.Name = "layoutControlItem3";
            this.layoutControlItem3.Size = new Size(160, 0x18);
            this.layoutControlItem3.Text = "T\x00ean:";
            this.layoutControlItem3.TextAlignMode = TextAlignModeItem.AutoSize;
            this.layoutControlItem3.TextSize = new Size(0x16, 13);
            this.layoutControlItem3.TextToControlDistance = 5;
            this.layoutControlItem5.Control = this.txtOldBirthPlace;
            this.layoutControlItem5.CustomizationFormText = "Nơi sinh:";
            this.layoutControlItem5.Location = new Point(0, 0x48);
            this.layoutControlItem5.Name = "layoutControlItem5";
            this.layoutControlItem5.Size = new Size(0x141, 0x18);
            this.layoutControlItem5.Text = "Nơi sinh:";
            this.layoutControlItem5.TextSize = new Size(0x3f, 13);
            this.layoutControlItem6.Control = this.txtOldIDCard;
            this.layoutControlItem6.CustomizationFormText = "Số CMND:";
            this.layoutControlItem6.Location = new Point(0, 0x60);
            this.layoutControlItem6.Name = "layoutControlItem6";
            this.layoutControlItem6.Size = new Size(130, 0x18);
            this.layoutControlItem6.Text = "Số CMND:";
            this.layoutControlItem6.TextSize = new Size(0x3f, 13);
            this.layoutControlItem7.Control = this.dtOldIDCardDate;
            this.layoutControlItem7.CustomizationFormText = "Ng\x00e0y cấp:";
            this.layoutControlItem7.Location = new Point(130, 0x60);
            this.layoutControlItem7.Name = "layoutControlItem7";
            this.layoutControlItem7.Size = new Size(0xbf, 0x18);
            this.layoutControlItem7.Text = "Ng\x00e0y cấp:";
            this.layoutControlItem7.TextAlignMode = TextAlignModeItem.AutoSize;
            this.layoutControlItem7.TextSize = new Size(0x31, 13);
            this.layoutControlItem7.TextToControlDistance = 5;
            this.layoutControlItem8.Control = this.txtOldIDCardPlace;
            this.layoutControlItem8.CustomizationFormText = "Nơi cấp:";
            this.layoutControlItem8.Location = new Point(0, 120);
            this.layoutControlItem8.Name = "layoutControlItem8";
            this.layoutControlItem8.Size = new Size(0x141, 0x18);
            this.layoutControlItem8.Text = "Nơi cấp:";
            this.layoutControlItem8.TextSize = new Size(0x3f, 13);
            this.layoutControlItem9.Control = this.txtOldMainAddress;
            this.layoutControlItem9.CustomizationFormText = "Địa chỉ:";
            this.layoutControlItem9.Location = new Point(0, 0x90);
            this.layoutControlItem9.Name = "layoutControlItem9";
            this.layoutControlItem9.Size = new Size(0x141, 0x18);
            this.layoutControlItem9.Text = "Địa chỉ:";
            this.layoutControlItem9.TextSize = new Size(0x3f, 13);
            this.layoutControlItem19.Control = this.txtOldEmployeeCode;
            this.layoutControlItem19.CustomizationFormText = "M\x00e3 NV:";
            this.layoutControlItem19.Location = new Point(0, 0);
            this.layoutControlItem19.Name = "layoutControlItem19";
            this.layoutControlItem19.Size = new Size(0x79, 0x18);
            this.layoutControlItem19.Text = "M\x00e3 NV:";
            this.layoutControlItem19.TextSize = new Size(0x3f, 13);
            this.layoutControlItem21.Control = this.txtOldHealthInsuranceCode;
            this.layoutControlItem21.CustomizationFormText = "Số thẻ BHYT:";
            this.layoutControlItem21.Location = new Point(0, 0xa8);
            this.layoutControlItem21.Name = "layoutControlItem21";
            this.layoutControlItem21.Size = new Size(0x141, 0x18);
            this.layoutControlItem21.Text = "Số thẻ BHYT:";
            this.layoutControlItem21.TextSize = new Size(0x3f, 13);
            this.layoutControlItem21.Visibility = LayoutVisibility.Never;
            this.layoutControlItem23.Control = this.xdeOldBirthday;
            this.layoutControlItem23.CustomizationFormText = "Ng\x00e0y sinh:";
            this.layoutControlItem23.Location = new Point(0, 0x30);
            this.layoutControlItem23.Name = "layoutControlItem23";
            this.layoutControlItem23.Size = new Size(0x141, 0x18);
            this.layoutControlItem23.Text = "Ng\x00e0y sinh:";
            this.layoutControlItem23.TextSize = new Size(0x3f, 13);
            this.groupControl2.AppearanceCaption.Font = new Font("Tahoma", 8.25f, FontStyle.Bold);
            this.groupControl2.AppearanceCaption.Options.UseFont = true;
            this.groupControl2.Controls.Add(this.layoutControl2);
            this.groupControl2.Location = new Point(0x16b, 4);
            this.groupControl2.Name = "groupControl2";
            this.groupControl2.Size = new Size(0x158, 0xcd);
            this.groupControl2.TabIndex = 1;
            this.groupControl2.Text = "Th\x00f4ng tin mới";
            this.layoutControl2.Controls.Add(this.xdeNewBirthday);
            this.layoutControl2.Controls.Add(this.txtNewHealthInsuranceCode);
            this.layoutControl2.Controls.Add(this.txtNewEmployeeCode);
            this.layoutControl2.Controls.Add(this.txtNewMainAddress);
            this.layoutControl2.Controls.Add(this.txtNewIDCardPlace);
            this.layoutControl2.Controls.Add(this.dtNewIDCardDate);
            this.layoutControl2.Controls.Add(this.txtNewIDCard);
            this.layoutControl2.Controls.Add(this.txtNewBirthPlace);
            this.layoutControl2.Controls.Add(this.txtNewLastName);
            this.layoutControl2.Controls.Add(this.txtNewFirstName);
            this.layoutControl2.Controls.Add(this.txtNewInsuranceCode);
            this.layoutControl2.Dock = DockStyle.Fill;
            this.layoutControl2.Location = new Point(2, 0x16);
            this.layoutControl2.Name = "layoutControl2";
            this.layoutControl2.OptionsView.AllowHotTrack = true;
            this.layoutControl2.OptionsView.HighlightDisabledItem = true;
            this.layoutControl2.OptionsView.HighlightFocusedItem = true;
            this.layoutControl2.Root = this.layoutControlGroup2;
            this.layoutControl2.Size = new Size(340, 0xb5);
            this.layoutControl2.TabIndex = 0;
            this.layoutControl2.Text = "layoutControl2";
            this.xdeNewBirthday.Day = 1;
            this.xdeNewBirthday.Location = new Point(0x49, 0x36);
            this.xdeNewBirthday.Month = 1;
            this.xdeNewBirthday.Name = "xdeNewBirthday";
            this.xdeNewBirthday.ReadOnly = false;
            this.xdeNewBirthday.Size = new Size(0xf4, 20);
            this.xdeNewBirthday.TabIndex = 0x18;
            this.xdeNewBirthday.Year = 0x7dd;
            this.txtNewHealthInsuranceCode.Location = new Point(0x49, 0xae);
            this.txtNewHealthInsuranceCode.Name = "txtNewHealthInsuranceCode";
            this.txtNewHealthInsuranceCode.Size = new Size(0xf4, 20);
            this.txtNewHealthInsuranceCode.StyleController = this.layoutControl2;
            this.txtNewHealthInsuranceCode.TabIndex = 10;
            this.txtNewEmployeeCode.Location = new Point(0x49, 6);
            this.txtNewEmployeeCode.Name = "txtNewEmployeeCode";
            this.txtNewEmployeeCode.Properties.ReadOnly = true;
            this.txtNewEmployeeCode.Size = new Size(50, 20);
            this.txtNewEmployeeCode.StyleController = this.layoutControl2;
            this.txtNewEmployeeCode.TabIndex = 0;
            this.txtNewMainAddress.Location = new Point(0x49, 150);
            this.txtNewMainAddress.Name = "txtNewMainAddress";
            this.txtNewMainAddress.Size = new Size(0xf4, 20);
            this.txtNewMainAddress.StyleController = this.layoutControl2;
            this.txtNewMainAddress.TabIndex = 9;
            this.txtNewIDCardPlace.Location = new Point(0x49, 0x7e);
            this.txtNewIDCardPlace.Name = "txtNewIDCardPlace";
            this.txtNewIDCardPlace.Size = new Size(0xf4, 20);
            this.txtNewIDCardPlace.StyleController = this.layoutControl2;
            this.txtNewIDCardPlace.TabIndex = 8;
            this.dtNewIDCardDate.EditValue = null;
            this.dtNewIDCardDate.Location = new Point(0xbd, 0x66);
            this.dtNewIDCardDate.Name = "dtNewIDCardDate";
            this.dtNewIDCardDate.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.dtNewIDCardDate.Properties.Mask.UseMaskAsDisplayFormat = true;
            this.dtNewIDCardDate.Properties.VistaTimeProperties.Buttons.AddRange(new EditorButton[] { new EditorButton() });
            this.dtNewIDCardDate.Size = new Size(0x80, 20);
            this.dtNewIDCardDate.StyleController = this.layoutControl2;
            this.dtNewIDCardDate.TabIndex = 7;
            this.txtNewIDCard.Location = new Point(0x49, 0x66);
            this.txtNewIDCard.Name = "txtNewIDCard";
            this.txtNewIDCard.Size = new Size(0x3a, 20);
            this.txtNewIDCard.StyleController = this.layoutControl2;
            this.txtNewIDCard.TabIndex = 6;
            this.txtNewBirthPlace.Location = new Point(0x49, 0x4e);
            this.txtNewBirthPlace.Name = "txtNewBirthPlace";
            this.txtNewBirthPlace.Size = new Size(0xf4, 20);
            this.txtNewBirthPlace.StyleController = this.layoutControl2;
            this.txtNewBirthPlace.TabIndex = 5;
            this.txtNewLastName.Location = new Point(0xbb, 30);
            this.txtNewLastName.Name = "txtNewLastName";
            this.txtNewLastName.Size = new Size(130, 20);
            this.txtNewLastName.StyleController = this.layoutControl2;
            this.txtNewLastName.TabIndex = 3;
            this.txtNewFirstName.Location = new Point(0x49, 30);
            this.txtNewFirstName.Name = "txtNewFirstName";
            this.txtNewFirstName.Size = new Size(0x53, 20);
            this.txtNewFirstName.StyleController = this.layoutControl2;
            this.txtNewFirstName.TabIndex = 2;
            this.txtNewInsuranceCode.Location = new Point(0xc2, 6);
            this.txtNewInsuranceCode.Name = "txtNewInsuranceCode";
            this.txtNewInsuranceCode.Size = new Size(0x7b, 20);
            this.txtNewInsuranceCode.StyleController = this.layoutControl2;
            this.txtNewInsuranceCode.TabIndex = 1;
            this.layoutControlGroup2.CustomizationFormText = "layoutControlGroup2";
            this.layoutControlGroup2.EnableIndentsWithoutBorders = DefaultBoolean.True;
            this.layoutControlGroup2.GroupBordersVisible = false;
            this.layoutControlGroup2.Items.AddRange(new BaseLayoutItem[] { this.layoutControlItem10, this.layoutControlItem11, this.layoutControlItem12, this.layoutControlItem14, this.layoutControlItem15, this.layoutControlItem16, this.layoutControlItem17, this.layoutControlItem18, this.layoutControlItem20, this.layoutControlItem22, this.layoutControlItem24 });
            this.layoutControlGroup2.Location = new Point(0, 0);
            this.layoutControlGroup2.Name = "layoutControlGroup2";
            this.layoutControlGroup2.Padding = new DevExpress.XtraLayout.Utils.Padding(4, 4, 4, 4);
            this.layoutControlGroup2.Size = new Size(0x143, 200);
            this.layoutControlGroup2.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
            this.layoutControlGroup2.Text = "layoutControlGroup2";
            this.layoutControlGroup2.TextVisible = false;
            this.layoutControlItem10.Control = this.txtNewInsuranceCode;
            this.layoutControlItem10.CustomizationFormText = "Số sổ BHXH:";
            this.layoutControlItem10.Location = new Point(0x79, 0);
            this.layoutControlItem10.Name = "layoutControlItem10";
            this.layoutControlItem10.Size = new Size(0xc2, 0x18);
            this.layoutControlItem10.Text = "Số sổ BHXH:";
            this.layoutControlItem10.TextSize = new Size(0x3f, 13);
            this.layoutControlItem11.Control = this.txtNewFirstName;
            this.layoutControlItem11.CustomizationFormText = "Họ l\x00f3t:";
            this.layoutControlItem11.Location = new Point(0, 0x18);
            this.layoutControlItem11.Name = "layoutControlItem11";
            this.layoutControlItem11.Size = new Size(0x9a, 0x18);
            this.layoutControlItem11.Text = "Họ l\x00f3t:";
            this.layoutControlItem11.TextSize = new Size(0x3f, 13);
            this.layoutControlItem12.Control = this.txtNewLastName;
            this.layoutControlItem12.CustomizationFormText = "T\x00ean:";
            this.layoutControlItem12.Location = new Point(0x9a, 0x18);
            this.layoutControlItem12.Name = "layoutControlItem12";
            this.layoutControlItem12.Size = new Size(0xa1, 0x18);
            this.layoutControlItem12.Text = "T\x00ean:";
            this.layoutControlItem12.TextAlignMode = TextAlignModeItem.AutoSize;
            this.layoutControlItem12.TextSize = new Size(0x16, 13);
            this.layoutControlItem12.TextToControlDistance = 5;
            this.layoutControlItem14.Control = this.txtNewBirthPlace;
            this.layoutControlItem14.CustomizationFormText = "Nơi sinh:";
            this.layoutControlItem14.Location = new Point(0, 0x48);
            this.layoutControlItem14.Name = "layoutControlItem14";
            this.layoutControlItem14.Size = new Size(0x13b, 0x18);
            this.layoutControlItem14.Text = "Nơi sinh:";
            this.layoutControlItem14.TextSize = new Size(0x3f, 13);
            this.layoutControlItem15.Control = this.txtNewIDCard;
            this.layoutControlItem15.CustomizationFormText = "Số CMND:";
            this.layoutControlItem15.Location = new Point(0, 0x60);
            this.layoutControlItem15.Name = "layoutControlItem15";
            this.layoutControlItem15.Size = new Size(0x81, 0x18);
            this.layoutControlItem15.Text = "Số CMND:";
            this.layoutControlItem15.TextSize = new Size(0x3f, 13);
            this.layoutControlItem16.Control = this.dtNewIDCardDate;
            this.layoutControlItem16.CustomizationFormText = "Ng\x00e0y cấp:";
            this.layoutControlItem16.Location = new Point(0x81, 0x60);
            this.layoutControlItem16.Name = "layoutControlItem16";
            this.layoutControlItem16.Size = new Size(0xba, 0x18);
            this.layoutControlItem16.Text = "Ng\x00e0y cấp:";
            this.layoutControlItem16.TextAlignMode = TextAlignModeItem.AutoSize;
            this.layoutControlItem16.TextSize = new Size(0x31, 13);
            this.layoutControlItem16.TextToControlDistance = 5;
            this.layoutControlItem17.Control = this.txtNewIDCardPlace;
            this.layoutControlItem17.CustomizationFormText = "Nơi cấp:";
            this.layoutControlItem17.Location = new Point(0, 120);
            this.layoutControlItem17.Name = "layoutControlItem17";
            this.layoutControlItem17.Size = new Size(0x13b, 0x18);
            this.layoutControlItem17.Text = "Nơi cấp:";
            this.layoutControlItem17.TextSize = new Size(0x3f, 13);
            this.layoutControlItem18.Control = this.txtNewMainAddress;
            this.layoutControlItem18.CustomizationFormText = "Địa chỉ:";
            this.layoutControlItem18.Location = new Point(0, 0x90);
            this.layoutControlItem18.Name = "layoutControlItem18";
            this.layoutControlItem18.Size = new Size(0x13b, 0x18);
            this.layoutControlItem18.Text = "Địa chỉ:";
            this.layoutControlItem18.TextSize = new Size(0x3f, 13);
            this.layoutControlItem20.Control = this.txtNewEmployeeCode;
            this.layoutControlItem20.CustomizationFormText = "M\x00e3 NV:";
            this.layoutControlItem20.Location = new Point(0, 0);
            this.layoutControlItem20.Name = "layoutControlItem20";
            this.layoutControlItem20.Size = new Size(0x79, 0x18);
            this.layoutControlItem20.Text = "M\x00e3 NV:";
            this.layoutControlItem20.TextSize = new Size(0x3f, 13);
            this.layoutControlItem22.Control = this.txtNewHealthInsuranceCode;
            this.layoutControlItem22.CustomizationFormText = "Số thẻ BHYT:";
            this.layoutControlItem22.Location = new Point(0, 0xa8);
            this.layoutControlItem22.Name = "layoutControlItem22";
            this.layoutControlItem22.Size = new Size(0x13b, 0x18);
            this.layoutControlItem22.Text = "Số thẻ BHYT:";
            this.layoutControlItem22.TextSize = new Size(0x3f, 13);
            this.layoutControlItem22.Visibility = LayoutVisibility.Never;
            this.layoutControlItem24.Control = this.xdeNewBirthday;
            this.layoutControlItem24.CustomizationFormText = "Ng\x00e0y sinh:";
            this.layoutControlItem24.Location = new Point(0, 0x30);
            this.layoutControlItem24.Name = "layoutControlItem24";
            this.layoutControlItem24.Size = new Size(0x13b, 0x18);
            this.layoutControlItem24.Text = "Ng\x00e0y sinh:";
            this.layoutControlItem24.TextSize = new Size(0x3f, 13);
            this.gcList.Location = new Point(7, 0xf7);
            this.gcList.MainView = this.gbList;
            this.gcList.Name = "gcList";
            this.gcList.Size = new Size(700, 200);
            this.gcList.TabIndex = 7;
            this.gcList.ViewCollection.AddRange(new BaseView[] { this.gbList });
            this.gbList.Appearance.ViewCaption.Font = new Font("Tahoma", 8.25f, FontStyle.Bold);
            this.gbList.Appearance.ViewCaption.Options.UseFont = true;
            this.gbList.Appearance.ViewCaption.Options.UseTextOptions = true;
            this.gbList.Appearance.ViewCaption.TextOptions.HAlignment = HorzAlignment.Near;
            this.gbList.Columns.AddRange(new GridColumn[] { this.colContentChange, this.colOldContent, this.colNewContent, this.colReason });
            this.gbList.GridControl = this.gcList;
            this.gbList.Name = "gbList";
            this.gbList.OptionsView.ShowGroupPanel = false;
            this.gbList.OptionsView.ShowViewCaption = true;
            this.gbList.ViewCaption = "  Nội dung được thay đổi hoặc điều chỉnh";
            this.colContentChange.Caption = "Nội dung thay đổi";
            this.colContentChange.FieldName = "ContentChange";
            this.colContentChange.Name = "colContentChange";
            this.colContentChange.Visible = true;
            this.colContentChange.VisibleIndex = 0;
            this.colOldContent.Caption = "Nội dung cũ";
            this.colOldContent.FieldName = "OldContent";
            this.colOldContent.Name = "colOldContent";
            this.colOldContent.Visible = true;
            this.colOldContent.VisibleIndex = 1;
            this.colNewContent.Caption = "Nội dung mới";
            this.colNewContent.FieldName = "NewContent";
            this.colNewContent.Name = "colNewContent";
            this.colNewContent.Visible = true;
            this.colNewContent.VisibleIndex = 2;
            this.colReason.Caption = "L\x00fd do điều chỉnh";
            this.colReason.FieldName = "Reason";
            this.colReason.Name = "colReason";
            this.colReason.Visible = true;
            this.colReason.VisibleIndex = 3;
            this.biInit.Appearance.Font = new Font("Tahoma", 8.25f, FontStyle.Bold);
            this.biInit.Appearance.Options.UseFont = true;
            this.biInit.ImageIndex = 2;
            this.biInit.ImageList = this.imageCollection1;
            this.biInit.Location = new Point(9, 0xd9);
            this.biInit.Name = "biInit";
            this.biInit.Size = new Size(0xa2, 0x17);
            this.biInit.TabIndex = 2;
            this.biInit.Text = "Sinh nội dung thay đổi";
            this.biInit.Click += new EventHandler(this.biInit_Click);
            this.glkInsuranceTableList.Location = new Point(0x10c, 460);
            this.glkInsuranceTableList.Name = "glkInsuranceTableList";
            this.glkInsuranceTableList.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo), new EditorButton(ButtonPredefines.Glyph, "", -1, true, true, false, ImageLocation.MiddleCenter, (Image) manager.GetObject("glkInsuranceTableList.Properties.Buttons"), new KeyShortcut(Keys.None), appearance, "", null, null, true) });
            this.glkInsuranceTableList.Properties.NullText = "[Chọn đợt b\x00e1o c\x00e1o để ph\x00e1t sinh]";
            this.glkInsuranceTableList.Properties.View = this.gridLookUpEdit1View;
            this.glkInsuranceTableList.Size = new Size(0xea, 0x16);
            this.glkInsuranceTableList.TabIndex = 4;
            this.gridLookUpEdit1View.Columns.AddRange(new GridColumn[] { this.colInsuranceTableListName });
            this.gridLookUpEdit1View.FocusRectStyle = DrawFocusRectStyle.RowFocus;
            this.gridLookUpEdit1View.Name = "gridLookUpEdit1View";
            this.gridLookUpEdit1View.OptionsSelection.EnableAppearanceFocusedCell = false;
            this.gridLookUpEdit1View.OptionsView.ShowGroupPanel = false;
            this.colInsuranceTableListName.Caption = "Đợt b\x00e1o c\x00e1o";
            this.colInsuranceTableListName.FieldName = "InsuranceTableListName";
            this.colInsuranceTableListName.Name = "colInsuranceTableListName";
            this.colInsuranceTableListName.Visible = true;
            this.colInsuranceTableListName.VisibleIndex = 0;
            this.labelControl1.AllowHtmlString = true;
            this.labelControl1.Location = new Point(0xb6, 0x1cf);
            this.labelControl1.Name = "labelControl1";
            this.labelControl1.Size = new Size(80, 14);
            this.labelControl1.TabIndex = 3;
            this.labelControl1.Text = "Đợt b\x00e1o c\x00e1o <color=red>(*)</color>:";
            base.AutoScaleDimensions = new SizeF(6f, 13f);
            base.AutoScaleMode = AutoScaleMode.Font;
            base.ClientSize = new Size(0x2ca, 0x1ef);
            base.Controls.Add(this.labelControl1);
            base.Controls.Add(this.glkInsuranceTableList);
            base.Controls.Add(this.biInit);
            base.Controls.Add(this.gcList);
            base.Controls.Add(this.groupControl2);
            base.Controls.Add(this.groupControl1);
            base.Controls.Add(this.btNext);
            base.Controls.Add(this.btOK);
            base.MaximizeBox = false;
            base.MinimizeBox = false;
            base.Name = "xfmModify";
            base.Padding = new System.Windows.Forms.Padding(4);
            base.ShowIcon = false;
            base.ShowInTaskbar = false;
            base.StartPosition = FormStartPosition.CenterScreen;
            this.Text = "Điều chỉnh hồ sơ tham gia BHXH, BHYT";
            this.imageCollection1.EndInit();
            this.groupControl1.EndInit();
            this.groupControl1.ResumeLayout(false);
            this.layoutControl1.EndInit();
            this.layoutControl1.ResumeLayout(false);
            this.txtOldHealthInsuranceCode.Properties.EndInit();
            this.txtOldEmployeeCode.Properties.EndInit();
            this.txtOldMainAddress.Properties.EndInit();
            this.txtOldIDCardPlace.Properties.EndInit();
            this.dtOldIDCardDate.Properties.VistaTimeProperties.EndInit();
            this.dtOldIDCardDate.Properties.EndInit();
            this.txtOldIDCard.Properties.EndInit();
            this.txtOldBirthPlace.Properties.EndInit();
            this.txtOldLastName.Properties.EndInit();
            this.txtOldFirstName.Properties.EndInit();
            this.txtOldInsuranceCode.Properties.EndInit();
            this.layoutControlGroup1.EndInit();
            this.layoutControlItem1.EndInit();
            this.layoutControlItem2.EndInit();
            this.layoutControlItem3.EndInit();
            this.layoutControlItem5.EndInit();
            this.layoutControlItem6.EndInit();
            this.layoutControlItem7.EndInit();
            this.layoutControlItem8.EndInit();
            this.layoutControlItem9.EndInit();
            this.layoutControlItem19.EndInit();
            this.layoutControlItem21.EndInit();
            this.layoutControlItem23.EndInit();
            this.groupControl2.EndInit();
            this.groupControl2.ResumeLayout(false);
            this.layoutControl2.EndInit();
            this.layoutControl2.ResumeLayout(false);
            this.txtNewHealthInsuranceCode.Properties.EndInit();
            this.txtNewEmployeeCode.Properties.EndInit();
            this.txtNewMainAddress.Properties.EndInit();
            this.txtNewIDCardPlace.Properties.EndInit();
            this.dtNewIDCardDate.Properties.VistaTimeProperties.EndInit();
            this.dtNewIDCardDate.Properties.EndInit();
            this.txtNewIDCard.Properties.EndInit();
            this.txtNewBirthPlace.Properties.EndInit();
            this.txtNewLastName.Properties.EndInit();
            this.txtNewFirstName.Properties.EndInit();
            this.txtNewInsuranceCode.Properties.EndInit();
            this.layoutControlGroup2.EndInit();
            this.layoutControlItem10.EndInit();
            this.layoutControlItem11.EndInit();
            this.layoutControlItem12.EndInit();
            this.layoutControlItem14.EndInit();
            this.layoutControlItem15.EndInit();
            this.layoutControlItem16.EndInit();
            this.layoutControlItem17.EndInit();
            this.layoutControlItem18.EndInit();
            this.layoutControlItem20.EndInit();
            this.layoutControlItem22.EndInit();
            this.layoutControlItem24.EndInit();
            this.gcList.EndInit();
            this.gbList.EndInit();
            this.glkInsuranceTableList.Properties.EndInit();
            this.gridLookUpEdit1View.EndInit();
            base.ResumeLayout(false);
            base.PerformLayout();
        }

        public void RaiseCreatedEventHander()
        {
            if (this.Created != null)
            {
                this.Created(this);
            }
        }

        private void SetValue(int Record)
        {
            this.txtOldInsuranceCode.Text = this.dt_Employee.Rows[Record]["InsuranceCode"].ToString();
            this.txtOldHealthInsuranceCode.Text = this.dt_Employee.Rows[Record]["HealthInsuranceCode"].ToString();
            this.txtOldEmployeeCode.Text = this.dt_Employee.Rows[Record]["EmployeeCode"].ToString();
            this.txtOldFirstName.Text = this.dt_Employee.Rows[Record]["FirstName"].ToString();
            this.txtOldLastName.Text = this.dt_Employee.Rows[Record]["LastName"].ToString();
            this.xdeOldBirthday.Day = Convert.ToInt32(this.dt_Employee.Rows[Record]["BirthdayDay"].ToString());
            this.xdeOldBirthday.Month = Convert.ToInt32(this.dt_Employee.Rows[Record]["BirthdayMonth"].ToString());
            this.xdeOldBirthday.Year = Convert.ToInt32(this.dt_Employee.Rows[Record]["BirthdayYear"].ToString());
            this.txtOldBirthPlace.Text = this.dt_Employee.Rows[Record]["BirthPlace"].ToString();
            this.txtOldIDCard.Text = this.dt_Employee.Rows[Record]["IDCard"].ToString();
            this.dtOldIDCardDate.DateTime = DateTime.Parse(this.dt_Employee.Rows[Record]["IDCardDate"].ToString());
            this.txtOldIDCardPlace.Text = this.dt_Employee.Rows[Record]["IDCardPlace"].ToString();
            this.txtOldMainAddress.Text = this.dt_Employee.Rows[Record]["MainAddress"].ToString();
            this.txtNewInsuranceCode.Text = this.dt_Employee.Rows[Record]["InsuranceCode"].ToString();
            this.txtNewHealthInsuranceCode.Text = this.dt_Employee.Rows[Record]["HealthInsuranceCode"].ToString();
            this.txtNewEmployeeCode.Text = this.dt_Employee.Rows[Record]["EmployeeCode"].ToString();
            this.txtNewFirstName.Text = this.dt_Employee.Rows[Record]["FirstName"].ToString();
            this.txtNewLastName.Text = this.dt_Employee.Rows[Record]["LastName"].ToString();
            this.xdeNewBirthday.Day = Convert.ToInt32(this.dt_Employee.Rows[Record]["BirthdayDay"].ToString());
            this.xdeNewBirthday.Month = Convert.ToInt32(this.dt_Employee.Rows[Record]["BirthdayMonth"].ToString());
            this.xdeNewBirthday.Year = Convert.ToInt32(this.dt_Employee.Rows[Record]["BirthdayYear"].ToString());
            this.txtNewBirthPlace.Text = this.dt_Employee.Rows[Record]["BirthPlace"].ToString();
            this.txtNewIDCard.Text = this.dt_Employee.Rows[Record]["IDCard"].ToString();
            this.dtNewIDCardDate.DateTime = DateTime.Parse(this.dt_Employee.Rows[Record]["IDCardDate"].ToString());
            this.txtNewIDCardPlace.Text = this.dt_Employee.Rows[Record]["IDCardPlace"].ToString();
            this.txtNewMainAddress.Text = this.dt_Employee.Rows[Record]["MainAddress"].ToString();
            this.m_Count--;
            if (this.m_Count < 0)
            {
                this.btNext.Enabled = false;
            }
            string[] strArray = new string[] { "Điều chỉnh hồ sơ tham gia BHXH, BHYT - ", this.txtOldFirstName.Text, " ", this.txtOldLastName.Text, " (", (this.m_Count + 1).ToString(), " mẫu tin đang đợi)" };
            this.Text = string.Concat(strArray);
        }

        public delegate void CreatedEventHander(object sender);
    }
}

